package com.ccloud.common.core.constant;

/**
 * redis常量类
 */
public class RedisConstants {

    /**
     * 默认失效时间
     */
    public static final int OUTTIME_DEFAULT = 60 * 60 * 24;

    /**
     * 临时数据失效时间
     */
    public static final int OUTTIME_MOMENT = 60 * 60 * 2;

    /**
     * 权限节点
     */
    public static final int PERMISSION_DBINDEX = 0;
    /**
     * 用户节点节点
     */
    public static final int USER_DBINDEX = 1;

    /**
     * 字典表节点
     */
    public static final int DICT_DBINDEX = 2;

    /**
     * 字典数据
     */
    public static final String SYS_DICT = "sys_dict";

    /**
     * 用户token
     */
    public static final String LOGIN_TOKENS = "login_tokens";

    /**
     * 系统配置
     */
    public static final String SYS_CONFIG = "sys_config";

    /**
     * 服务对象
     */
    public static final String SERVICE_OBJECT = "service_object";

    /**
     * 证件类型
     */
    public static final String ZJLX = "zjlx";
}
